﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage.Master" AutoEventWireup="true" CodeBehind="TraCuuChuyenBay.aspx.cs" Inherits="AirPlane.TraCuuChuyenBay" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <style type="text/css">
        .style1
        {
        	width:90%;
        	
        }
        .style2
        {
            width: 385px;
        }
         </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id = "tab-search-chuyen-bay">
    <table align="center" class="style1">
        <tr>
            <td colspan="2">
             <h3 class="page-title-517">Tra Cứu Chuyến Bay</h3>
             </td>
        </tr>
        <tr>
            <td class="style2" >
              <span style="margin-left:20px">
                Sân Bay Đi: 
                <asp:DropDownList ID="ddlSanBayDi" runat="server"  
                  DataTextField="tenSanBay" DataValueField="ID_sanBayDi" CssClass="ddlSanBay1" ></asp:DropDownList></span></td>
            <td >
              <span style="margin-left:20px">
                Sân Bay Đến:  
                <asp:DropDownList ID="ddlSanBayDen" runat="server"
                  DataTextField="tenSanBay" DataValueField="ID_sanBayDen" CssClass="ddlSanBay1"></asp:DropDownList>
              </span></td>
        </tr>
        <tr>
            <td class="style2">
             <span style="margin-left:40px;">
             Ngay Đi : <asp:TextBox ID="datepickerdepart" runat="server" CssClass="ddlngay1"></asp:TextBox>
             </span>
            </td>
            <td>
              <span style="margin-left:40px;">
             Ngày Đến: <asp:TextBox ID="datepickergoing" runat="server" CssClass="ddlngay1"></asp:TextBox>
             </span>
             </td>
        </tr>
        <tr>
            <td colspan="2">
              <span>
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                    RepeatDirection="Horizontal" CellPadding="10" CellSpacing="5" 
                    CssClass="radionSearch" Height="30px">
                    <asp:ListItem Value="0" Selected="True">Một Chiều</asp:ListItem>
                    <asp:ListItem Value="1">Khứ Hồi</asp:ListItem>
                </asp:RadioButtonList>
                </span>
            </td>
        </tr>
        
        <tr>
            <td colspan="2">
              <span style="margin-left:100px">
                Tiêu Chí:<asp:DropDownList ID="ddlTieuChi" runat="server" 
                    CssClass="ddlTieuChiSearch">
                    <asp:ListItem Selected="True" Value="0">Tất Cả</asp:ListItem>
                    <asp:ListItem Value="1">Theo Sân Bay Đi</asp:ListItem>
                    <asp:ListItem Value="2">Theo Sân Bay Đến</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="btnSearch" runat="server" CssClass="btnSearch-517" 
                    onclick="btnSearch_Click" />
                </span>
            </td>
        </tr>
     
    </table>
</div>
  <div id = "tab-search-ket-qua">
    <div id="search-Chuyen-Bay-Di">
       <asp:Label ID="lbChuyenBayDi" runat="server" Text=""></asp:Label>
    <asp:GridView ID="gwChuyenBayDi" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" GridLines="None" ForeColor="#333333">
        <AlternatingRowStyle BackColor="White" />
         <Columns>
             <asp:BoundField DataField="ngayDi" HeaderText="Ngày Đi">
             <ItemStyle HorizontalAlign="Center" Width="200px" />
             </asp:BoundField>
        <asp:BoundField DataField="ID_sanBayDi" HeaderText="Điểm Đi">
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="ID_sanBayDen" HeaderText="Điểm Đến" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="gioDi" HeaderText="Giờ Đi" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="gioDen" HeaderText="Giờ Đến" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="soHieuMayBay" HeaderText="Số Hiệu Máy Bay" >
        <ItemStyle HorizontalAlign="Center" Width="150px" />
        </asp:BoundField>
        <asp:BoundField DataField="ThuongNhan" HeaderText="Thương Nhân">
        <ItemStyle Width="100px" />
        </asp:BoundField>
             <asp:BoundField DataField="PhoThong" HeaderText="Phổ Thông">
             <ItemStyle Width="100px" />
             </asp:BoundField>
             <asp:BoundField DataField="TietKiem" HeaderText="Tiết Kiệm">
             <ItemStyle Width="100px" />
             </asp:BoundField>
    </Columns>
         <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />

    </asp:GridView>
    </div>

     <div id="search-Chuyen-Bay-Ve">
         <asp:Label ID="lbChuyenBayVe" runat="server" Text=""></asp:Label>
    <asp:GridView ID="gwChuyenBayVe" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" GridLines="None" ForeColor="#333333">
        <AlternatingRowStyle BackColor="White" />
         <Columns>
        <asp:BoundField DataField="ngayDi" HeaderText="Ngày Đi">
        <ItemStyle HorizontalAlign="Center" Width="200px" />
        </asp:BoundField>
        <asp:BoundField DataField="ID_sanBayDi" HeaderText="Điểm Đi">
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="ID_sanBayDen" HeaderText="Điểm Đến" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="gioDi" HeaderText="Giờ Đi" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="gioDen" HeaderText="Giờ Đến" >
        <ItemStyle HorizontalAlign="Center" Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="soHieuMayBay" HeaderText="Số Hiệu Máy Bay" >
        <ItemStyle HorizontalAlign="Center" Width="150px" /></asp:BoundField>
        <asp:BoundField DataField="ThuongNhan" HeaderText="Thương Nhân">
        <ItemStyle Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="PhoThong" HeaderText="Phổ Thông">
        <ItemStyle Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="TietKiem" HeaderText="Tiết Kiệm">
        <ItemStyle Width="100px" />
        </asp:BoundField>
    </Columns>
         <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />

    </asp:GridView>
    </div>
</div>
</asp:Content>
